package com.tbit.uqbike.client.service.impl;


import com.tbit.uqbike.client.pojo.SmsAuthConfig;
import com.tbit.uqbike.client.service.CacheService;
import com.tbit.uqbike.client.service.SmsAuthConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: chen
 * @Description: 短信实名认证配置信息
 * @Date: 创建于 9:43 2019/8/8
 */
@Service("smsAuthConfigService")
public class SmsAuthConfigServiceImpl implements SmsAuthConfigService {
    @Autowired
    private CacheService cacheService;

    @Override
    public SmsAuthConfig getByAccountId(Integer accountId) {
        return cacheService.getSmsConfig(accountId);
    }

}
